import Vue from 'vue'
import App from './App.vue'
import vuerouter from 'vue-router'
import router from './router/index'
Vue.config.productionTip = false
Vue.use(vuerouter)
new Vue({
	render: h => h(App),
	router,
	beforeCreate() {
		Vue.prototype.$bus = this //安装全局事件总线
	}
}).$mount('#app')
